<?php
/**
 * Created by PhpStorm.
 * User: yafei
 * Date: 2017/5/26
 * Time: 13:53
 */


/*
 * 0_未知-1_男2_女
 * @return string
 */

function getSexStatus($num){

    if($num == Config::get('3cs.SEX_MAN')){
        $status = Config::get('3cs.SEX_MAN_TEXT');
    }else if($num == Config::get('3cs.SEX_WOMAN')){
        $status = Config::get('3cs.SEX_WOMAN_TEXT');
    }else if($num == Config::get('3cs.SEX_UNKNOWN')){
        $status = Config::get('3cs.SEX_UNKNOWN_TEXT');
    }else{
        $status = Config::get('3cs.SEX_UNKNOWN_TEXT');
    }
    return $status;
}
